<template>
	<view class="page-welcome">
		<image class="img" src="../../static/images/welcome.png" mode="widthFix"></image>
		<view class="btn" @click="toPage"></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods: {
			toPage() {
				if(this.isLogin) {
					uni.reLaunch({
						url: '/pages/index/index'
					})
					return
				}else {
					uni.reLaunch({
						url: '/pages/wxlogin/wxlogin'
					})
					return
				}
			}
		}
	}
</script>

<style lang="scss">
	.page-welcome {
		width: 100%;
		height: 100%;
		background-color: #FFFFFF;
		
		.img {
			width: 100%;
		}
		
		.btn {
			width: 370rpx;
			height: 80rpx;
			position: fixed;
			top: 1203rpx;
			left: 50%;
			transform: translateX(-50%);
			z-index: 10;
		}
	}
</style>
